<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>关键词优化</title>
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/easyui.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/color.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/icon.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/form.css'}">
<style>
	.titleli{
		border-bottom:1px solid #ccc;
		width:100%;
		text-decoration:none;
		line-height:30px;
		background-color:rgb(250, 250, 250);
		list-style:none;
		color:#6197cc !important;
		float:left;
	}
	.titlespan{
		font-size:12px;
		margin-left:10px;
		cursor:pointer;
		-moz-padding-start: 0px;
		-moz-user-select:none;
	}
	.titleimg{
		float:right;
		margin-top:10px;
		margin-right:10px;
		cursor:pointer;
	}
	a{
		text-decoration:none;
		color:#6197cc;
	}
	ul{
		-webkit-padding-start: 0px;
		-moz-padding-start: 0px;
		padding:0px;
		margin:0px;
	}
	.active{
		background-color: #eceeed !important
	}
	.textarecss{
		background-color:rgb(250, 250, 250)
	}
	.btn{
		height:32px;
		border-radius:2px;
		background-color:#6197cc;
		color:#fff;
		outline:none;
		border:none; 
		cursor:pointer;
		font-weight:bold;
		font-size:14px;
	}
</style>
</head>
<body class="zitifont">
	<div class="col-xs-12">
		<input type="hidden" id="courtid" value="${courtid}">
		<input type="hidden" id="caseid" value="${caseid}">
		<div class="col-xs-9" style="min-height:300px">
			<div class="col-xs-12" style="margin-top:60px;padding-left:80px">
				<div class="col-xs-12">
					<span style="font-size:18px;width:100px;color:#6197cc">关键词优化</span>
					<!-- <button class="btn" style="margin-left:10px" onclick="importAlrt()">导入文件</button> -->
				</div>
				<div class="col-xs-12" style="margin-top:10px">
					<div class="col-xs-12">
						<textarea class="col-xs-10 form_control textarecss" id="content" style="font-size:16px;min-height:300px"></textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="col-xs-3" style="min-height:300px">
			<div class="col-xs-12" style="margin-top:60px">
					<span class="col-xs-12" style="font-size:18px;width:120px;color:#6197cc">常用优化记录</span>
					<input type="hidden" id="wordid" name="wordid" value="${firstKey}">
					<div class="col-xs-11" style="border:1px solid #D4D4D4;overflow:auto;height:303px;margin-top:10px;" >
						<ul class="shaixuan">
							#{list items:words,as:"word"}
									<li class="titleli " id="${word?.wordid}" >
										<span class="titlespan" onselectstart="return false;" onclick="changeContent('${word?.wordid}')">${word?.nameString}</span>
										<img src="@{'/public/images/icon_delete.png'}" class="titleimg" onclick="delkeyword('${word?.wordid}')">
									</li>
							#{/list}
						</ul>
					</div>
			</div>
		</div>
		<div class="col-xs-12" style="margin-top:40px">
			<div class="col-xs-2" style="margin-left:80px">
				<img  src="@{'/public/images/begin_reset.png'}" style="cursor:pointer" onclick="beginReset()">
			</div>
			<div class="col-xs-2">
				<img  src="@{'/public/images/clear_reset.png'}" style="cursor:pointer" onclick="clearReset()">
			</div>
			<div class="col-xs-2">
				<img  src="@{'/public/images/button_text.png'}" style="cursor:pointer" onclick="saveTextBtn()">
			</div>
			<div class="col-xs-2">
				<img  src="@{'/public/images/button_next.png'}" style="cursor:pointer" onclick="submitBtn()">
			</div>
		</div>
	</div>
	<!-- <div id="importAlert" class="easyui-window" title="上传文书" data-options="modal:true,closed:true,collapsible:false,minimizable:false,maximizable:false" style="width:350px;height:200px;padding:10px;">
		<div style="margin-left:20px">
			<form method="post" id="importForm" enctype="multipart/form-data">
				#{authenticityToken /}
				<div style="margin-left:20px;margin-top:30px">
					<span style="font-size:14px;width:100px;color:#737373;margin-right:10px">文件:</span>
					<input id="import" name="wordFile" placeholder="请选择文件，仅支持word格式">
					<input id="import" name="fileToUpload" class="easyui-filebox"  style="width: 200px;height:26px" />
				</div>
			</form>
			<div style="margin-top:25px;margin-left:80px">
					<button style="width:80px;margin-left:15px" class="btn" onclick="importContent()">导入</button>
			</div>
		</div>
	</div> -->
</body>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery-1.8.2.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery.easyui.min.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/easyui-lang-zh_CN.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/Validator.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/common.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/dateFormat.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/KeyWordController/keyword.js'}"></script>
<script type="text/javascript">
var $Path='${ctxPath}';
	/* #{list items:words,as:"word"}
		#{if word_isFirst}
			$("#content").text("${word?.content}");
		#{/if}
	#{/list} */
</script>
</html>